#!/usr/bin/env python

import pyacp
print "importing pyacp is OK"

import sys
if len(sys.argv)!=3:
  print "usage: ./test.py email passwd"
  sys.exit(2)

email,password=sys.argv[1:3]
print "email:",email
print "password:",password
session = pyacp.login(email,password)
print session
#print session.is_logined()
print pyacp.api.get_global_last_updated_date()

